<template>
	<view class="">
		<u-search v-model="value" height="72rpx" :showAction="false" shape="square" :placeholder="placeholder"></u-search>
		<slot name="tabs"></slot>
	</view>
</template>

<script>
	export default {
		name: 'searchCom',
		props:{
			placeholder:{
				type:String,
				default:"请输入人才姓名"
			}
		},
		data() {
			return {
				value: ""
			}
		},
		watch:{
			value(v){
				uni.$emit('search_list',v)
			}
		}
	}
</script>

<style lang="scss">

</style>